PhpMyAdmin\Server\Privileges D

Total Complexity 528
Dependencies 16
Dependents 4
Total lines 3,733
Lines of code 2,542
Logical lines of code 1,116
Comment lines 638
Methods 60
Properties 5

Methods 60

Method Rating Maintainability Complexity Lines of code
getSqlQueriesForDisplayAndAddUser()
D
27
42 147
getDataForDBInfo()
C
35 30 88
updatePassword()
C
31 25 115
addUser()
C
30 24 129
extractPrivInfo()
C
36 27 74
getHtmlForAllTableSpecificRights()
C
29 19 140
getHtmlForUserOverview()
B
32 18 109
getDataForChangeOrCopyUser()
B
40 20 58
getHtmlToDisplayPrivilegesTable()
B
35 18 86
getHtmlForUserProperties()
B
35 18 85
getWithClauseForAddUserAndUpdatePrivs()
B
46 20 36
getTablePrivsQueriesForChangeOrCopyUser()
B
39 16 65
getHtmlForLoginInformationFields()
A
40 14 58
getUserSpecificRights()
A
36 12 82
addUserAndCreateDatabase()
A
41 13 58
generateQueriesForUpdatePrivileges()
A
45 14 38
getUserPrivileges()
A
47 14 34
getUsersOverview()
A
40 12 59
getExtraDataForAjaxBehavior()
A
40 12 59
getRequireClause()
A
49 12 30
updatePrivileges()
A
44 10 47
getUserLink()
A
43 9 53
getCurrentAuthenticationPlugin()
A
48 10 33
getGrantsArray()
A
31 1 163
getFormForChangePassword()
A
50 10 26
deleteUser()
A
48 7 34
getSpecificPrivilege()
S
49 6 31
setUserGroup()
S
49 6 30
getDbRightsForUserOverview()
S
46 5 38
getDataForDeleteUsers()
S
48 5 33
checkIfMariaDBPwdCheckPluginActive()
S
58 6 16
getHtmlForInitials()
S
53 5 22
getListForExportUserDefinition()
S
47 3 37
getUsernameAndHostnameLength()
S
55 4 21
getAddUserHtmlFieldset()
S
57 4 17
getTablePrivileges()
S
58 4 17
getDataForQueries()
S
61 4 13
getGlobalAndDatabasePrivileges()
S
47 1 54
getSqlQueryForDisplayPrivTable()
S
56 3 19
getAllPrivileges()
S
55 3 19
fillInTablePrivileges()
S
56 3 17
getUserGroupForUser()
S
58 3 16
getDbSpecificPrivsQueriesForChangeOrCopyUser()
S
57 3 15
parseProcPriv()
S
59 3 15
updateMessageForReload()
S
60 3 14
getTableGrantsArray()
S
48 1 44
wildcardEscapeForGrant()
S
62 3 12
getMessageAndSqlQueryForPrivilegesRevoke()
S
53 2 23
setProperPasswordHashing()
S
66 3 9
rangeOfUsers()
S
64 3 10
getRoutineType()
S
64 3 10
getHtmlForAddUser()
S
59 2 14
getRoutinePrivileges()
S
59 2 14
getGrants()
S
62 2 12
getHtmlForRoutineSpecificPrivileges()
S
61 1 12
getRoutinesPrivileges()
S
66 1 9
getHashedPassword()
S
72 1 5
getUserGroupCount()
S
69 1 6
getHtmlForViewUsersError()
S
75 1 5
__construct()
S
69 1 7